package cn.ybx.seaIslands.models;

import java.util.ArrayList;

public abstract class SeaIslandsMap {
    private ArrayList<Island> islands = new ArrayList<>();

    public abstract double getMapArea();

    public abstract boolean isInsideTheMap(Point thePoint);

    public abstract Island findIslandByCoordinates(Point thePoint);

    public ArrayList<Island> getIslands() {
        return islands;
    }
}
